package networking.messages.weaponMessages;

import networking.messages.SimpleMessage;

public class WeaponRequestMessage extends SimpleMessage {
	
	private int shipIndex;
	
	public WeaponRequestMessage() {
		super();
	}
	
	public WeaponRequestMessage(int shipIndex, short playerID) {
		this();
		this.shipIndex = shipIndex;
		assert(shipIndex >= 0);
		
		setPlayerId(playerID);
	}
	
	public int getShipIndex() { return shipIndex; }
}